package com.dragon.modules.yuegou.entity.points;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.modules.yuegou.enums.points.ClearStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 积分清零任务表实体类<br>
 * 对应的表为：pt_clear<br>
 * 
 * @author pbuilder generated
 * @date 2019-11-20 15:25:36
 * @company sgy
 * @version 2.0
 */
@TableName("pt_clear")
@ApiModel(description = "积分清零任务表")
public class ClearEntity {

    /**   */
	protected String id;

    /** 商圈ID */
	@ApiModelProperty("商圈ID")
	protected String busdId;

    /** 清理时间 */
	@ApiModelProperty("清理时间")
	protected LocalDate clearDate;

    /** 清理积分 */
	@ApiModelProperty("清理积分")
	protected Integer clearPoint;

    /** 清理会员 */
	@ApiModelProperty("清理会员")
	protected Integer clearMember;

    /** [枚举]执行状态：0-待执行-READY、1-已执行-COMPLETE、2-已取消-CANCEL */
	@ApiModelProperty("[枚举]执行状态：0-待执行-READY、1-已执行-COMPLETE、2-已取消-CANCEL")
	protected ClearStatus status;

    /** 创建人 */
	@ApiModelProperty("创建人")
	protected String createdBy;

    /** 创建时间 */
	@ApiModelProperty("创建时间")
	protected LocalDateTime createdTime;

    /**  */
	protected Boolean del;

    /**  */
	protected String delBy;

    /**  */
	protected LocalDateTime delTime;

	/**
	 * 构造一个空积分清零任务表实体对象
	 */
	public ClearEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个积分清零任务表实体对象
	 * 
	 * @param other 其它对象
	 */
	public ClearEntity(ClearEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.clearDate = other.clearDate;
     	this.clearPoint = other.clearPoint;
     	this.clearMember = other.clearMember;
     	this.status = other.status;
     	this.createdBy = other.createdBy;
     	this.createdTime = other.createdTime;
     	this.del = other.del;
     	this.delBy = other.delBy;
     	this.delTime = other.delTime;
	}


	/**
	 * 获取 
	 * 
	 * @return id  
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置 
	 * 
	 * @param id  
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈ID
	 * 
	 * @return busdId 商圈ID
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈ID
	 * 
	 * @param busdId 商圈ID
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取清理时间
	 * 
	 * @return clearDate 清理时间
	 */
	public LocalDate getClearDate() {
		return clearDate;
	}
  	
	/**
	 * 设置清理时间
	 * 
	 * @param clearDate 清理时间
	 */
	public void setClearDate(LocalDate clearDate) {
		this.clearDate = clearDate;
	}

	/**
	 * 获取清理积分
	 * 
	 * @return clearPoint 清理积分
	 */
	public Integer getClearPoint() {
		return clearPoint;
	}
  	
	/**
	 * 设置清理积分
	 * 
	 * @param clearPoint 清理积分
	 */
	public void setClearPoint(Integer clearPoint) {
		this.clearPoint = clearPoint;
	}

	/**
	 * 获取清理会员
	 * 
	 * @return clearMember 清理会员
	 */
	public Integer getClearMember() {
		return clearMember;
	}
  	
	/**
	 * 设置清理会员
	 * 
	 * @param clearMember 清理会员
	 */
	public void setClearMember(Integer clearMember) {
		this.clearMember = clearMember;
	}

	/**
	 * 获取[枚举]执行状态：0-待执行-READY、1-已执行-COMPLETE、2-已取消-CANCEL
	 * 
	 * @return status [枚举]执行状态：0-待执行-READY、1-已执行-COMPLETE、2-已取消-CANCEL
	 */
	public ClearStatus getStatus() {
		return status;
	}
  	
	/**
	 * 设置[枚举]执行状态：0-待执行-READY、1-已执行-COMPLETE、2-已取消-CANCEL
	 * 
	 * @param status [枚举]执行状态：0-待执行-READY、1-已执行-COMPLETE、2-已取消-CANCEL
	 */
	public void setStatus(ClearStatus status) {
		this.status = status;
	}

	/**
	 * 获取创建人
	 * 
	 * @return createdBy 创建人
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置创建人
	 * 
	 * @param createdBy 创建人
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取创建时间
	 * 
	 * @return createdTime 创建时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置创建时间
	 * 
	 * @param createdTime 创建时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return del 
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置
	 * 
	 * @param del 
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

	/**
	 * 获取
	 * 
	 * @return delBy 
	 */
	public String getDelBy() {
		return delBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delBy 
	 */
	public void setDelBy(String delBy) {
		this.delBy = delBy;
	}

	/**
	 * 获取
	 * 
	 * @return delTime 
	 */
	public LocalDateTime getDelTime() {
		return delTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delTime 
	 */
	public void setDelTime(LocalDateTime delTime) {
		this.delTime = delTime;
	}

    public String toString() {
		return new StringBuilder().append("ClearEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",clearDate=").append(clearDate).
			append(",clearPoint=").append(clearPoint).
			append(",clearMember=").append(clearMember).
			append(",status=").append(status).
			append(",createdBy=").append(createdBy).
			append(",createdTime=").append(createdTime).
			append(",del=").append(del).
			append(",delBy=").append(delBy).
			append(",delTime=").append(delTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public ClearEntity copy() {
		return new ClearEntity(this);
	}

    /**   */
	public static final String COL_ID = "id";

    /** 商圈ID */
	public static final String COL_BUSD_ID = "busd_id";

    /** 清理时间 */
	public static final String COL_CLEAR_DATE = "clear_date";

    /** 清理积分 */
	public static final String COL_CLEAR_POINT = "clear_point";

    /** 清理会员 */
	public static final String COL_CLEAR_MEMBER = "clear_member";

    /** [枚举]执行状态：0-待执行-READY、1-已执行-COMPLETE、2-已取消-CANCEL */
	public static final String COL_STATUS = "status";

    /** 创建人 */
	public static final String COL_CREATED_BY = "created_by";

    /** 创建时间 */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_DEL = "del";

    /**  */
	public static final String COL_DEL_BY = "del_by";

    /**  */
	public static final String COL_DEL_TIME = "del_time";
}
